#database migrations

[ follow ]
Medium
7 months ago
Scala

https://github.com/geirolz/fly4s

Flyway is a popular Java library for handling database migrations, but it has some stylistic problems in terms of OOP paradigm.
Fly4s is a lightweight wrapper for Flyway that aims to provide pureness, resource handling, and type safety by using typelevel libraries. [ more ]
Marcin Wanago Blog - JavaScript, both frontend and backend
9 months ago
JavaScript

API with NestJS #136. Raw SQL queries with Prisma and PostgreSQL range types

Prisma currently does not support range types in PostgreSQL, but PostgreSQL has built-in range types that can be used.
To use a range type in Prisma, you need to define the type in the schema and create a migration manually. [ more ]
[ Load more ]